package com.blb.ssm.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.ssm.entity.Role;
import com.blb.ssm.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huahao
 * @since 2019-01-15
 */
public interface IUserService extends IService<User> {

	User getUserByUserName(String userName);
	
	void setRole(String id, List<Role> roles);
}
